package ddemo.pojo;

public class User {
    private Integer id;
    private String username;
    private String password;
    private Integer power;
    private String ev;
    private String phone_number;

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public User() {
    }

    public User(Integer id, String username, String password, Integer power, String ev) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.power = power;
        this.ev = ev;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return power
     */
    public Integer getPower() {
        return power;
    }

    /**
     * 设置
     * @param power
     */
    public void setPower(Integer power) {
        this.power = power;
    }

    /**
     * 获取
     * @return ev
     */
    public String getEv() {
        return ev;
    }

    /**
     * 设置
     * @param ev
     */
    public void setEv(String ev) {
        this.ev = ev;
    }

    public String toString() {
        return "User{id = " + id + ", username = " + username + ", password = " + password + ", power = " + power + ", ev = " + ev + "}";
    }
}
